package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.mapper.TagMapper;
import cn.kgc.crowdfundingadmin.pojo.Tag;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author shkstart
 * @create 郭祥伟
 */
@Service("tagService")
public class TagServiceImpl implements TagService {
    @Resource
    TagMapper tagMapper;
    @Override
    public List<Tag> getAll() {
        return tagMapper.selectByExample(null);
    }
}
